package com.superbytecode.cloud.web;


import com.superbytecode.cloud.web.datetime.DatetimeConfiguration;
import com.superbytecode.cloud.web.datetime.DatetimeConvertPrimary;
import com.superbytecode.cloud.web.exception.GlobalExceptionHandler;
import com.superbytecode.cloud.web.exception.SentinelBlockExceptionHandler;
import com.superbytecode.cloud.web.result.WebMvcProcessAdviceDecorator;
import com.superbytecode.cloud.web.swagger.SwaggerConfiguration;
import com.superbytecode.cloud.web.swagger.SwaggerShortcutController;
import com.superbytecode.cloud.web.transform.TransformConfiguration;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

/**
 * All rights Reserved, Designed By www.super-master.com
 *
 * @ProjectName: beacon-cloud
 * @Package: com.superbytecode.cloud.web
 * @ClassName: WebAutoConfiguration
 * @Description: []
 * <p> </p>
 * @Author: [Lance Ting]
 * @Date: 2024/10/21 17:06
 * @Version: V1.0
 * @Copyright: 2024 www.super-master.cn Inc. All rights reserved.
 * TODO: 注意,本文件Lance Ting所作,如果转载或使用请标明具体出处!
 **/
@Configuration
@ComponentScan(basePackages = "com.superbytecode.cloud.web")
@Import({GlobalExceptionHandler.class, SentinelBlockExceptionHandler.class, WebMvcProcessAdviceDecorator.class,//
        SwaggerConfiguration.class, SwaggerShortcutController.class, TransformConfiguration.class,//
        DatetimeConfiguration.class, DatetimeConvertPrimary.class//
})
public class WebAutoConfiguration {

}